package modell;

import javax.media.j3d.Appearance;
import javax.media.j3d.ColoringAttributes;
import javax.media.j3d.Material;
import javax.vecmath.Color3f;

public class DummyApperance extends Appearance{
	Material mat = null;
	Color3f color = null;
	public DummyApperance(float r, float g, float b){
		this.color = new Color3f(r, g, b);
		this.mat = new Material();
		this.mat.setAmbientColor(this.color);
		this.mat.setDiffuseColor(1.0f, 1.0f, 1.0f);
		this.mat.setSpecularColor(1.0f, 1.0f, 1.0f);
		this.mat.setShininess(128.0f);
		this.mat.setEmissiveColor(this.color);
		this.setMaterial(mat);
	}
}
